Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

solver: make results of poetry update more deterministic and similar to results of poetry lock #6477

Merged
merged 1 commit into from
Sep 17, 2022

Conversation

radoering
Copy link
Member

When running poetry lock, dependencies with less candidates are chosen first. Prior to this change when running poetry update, all whitelisted dependencies (aka use_latest) got the same priority which results in a more or less random resolution order.

Pull Request Check List

Resolves: #2883

  • Added tests for changed code.
  • Updated documentation for changed code.

…r to results of `poetry lock`

When running `poetry lock`, dependencies with less candidates are chosen first.
Prior to this change when running `poetry update`, all whitelisted dependencies (aka `use_latest`) got the same priority which results in a more or less random resolution order.
@neersighted neersighted added this to the 1.3 milestone Sep 17, 2022
@neersighted neersighted added area/solver Related to the dependency resolver kind/enhancement Not a bug or feature, but improves usability or performance impact/changelog Requires a changelog entry labels Sep 17, 2022
@neersighted neersighted merged commit 4914c26 into python-poetry:master Sep 17, 2022
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/solver Related to the dependency resolver impact/changelog Requires a changelog entry kind/enhancement Not a bug or feature, but improves usability or performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Poetry install and update resolve versions differently when requirements aren't pinned
2 participants